package com.qf.dao;

import com.qf.domain.Goods;

import java.util.List;

public interface GoodsDao {
    long getCount(String where, List<Object> params);

    List<Goods> selectByPage(int page_num, int page_size, String where, List<Object> params);

    Goods selectById(Integer gid);

    void insert(Goods goods);

    //后加:后台查询商品
    List<Goods> adminSelect(StringBuilder where, List<Object> params);

    void delete(int gid);
}
